﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace Clandestine.Graphics.Text
{
    public static class Fonts
    {
        public static Font Default;
        public static Font Default2; // temp, feeling lazy.
        public static Font LargeDroidSerif;

        internal static float PrecisionScale = 1.0f;

        // Keep listing fonts here.
        // I thought we may as well keep them in a public static class, since we're
        // probably going to use about 3 ever

        // You can't initialise them up there, b/c the paths haven't been fixed yet
        // at time of execution!!!

        static Fonts()
        {
            Default = new Font("fonts/visitor1.ttf", 16, true);
            Default2 = new Font("fonts/DroidSerif-Regular.ttf", 13, false);
            LargeDroidSerif = new Font("fonts/DroidSerif-Regular.ttf", 13, false);
        }

        public static void SetPrecisionScale(int windowZoom)
        {
            if (windowZoom == 1)
                PrecisionScale = 1f;
            else
                PrecisionScale = windowZoom * 2f;

            //new System.Drawing.Text.PrivateFontCollection().Families;
        }
    }
}
